home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1 / Nebula One.iso / Financial / RISK / Source / RanGen.h < prev    next >
Text File  |  1995-06-12  |  390b  |  22 lines

  1. // RanGen:
  2. // Random number generator object.
  3. // Incorporates methods for different random distributions.
  4. #import <objc/Object.h>
  5.  
  6. @interface RanGen:Object
  7. {
  8. }
  9.  
  10. // detailed method descriptions at end of .h and in .m
  11.  
  12. // factory:
  13. + new; 
  14.  
  15. // multi-purpose:
  16. - (double) ran01;
  17.  
  18. // special-purpose methods based on ran01:
  19. - (int) lowInt: (int) lowestNumber  highInt: (int) highestNumber;
  20.  
  21. @end
  22.